package com.qcq.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author ：qcq
 * @date ：Created in 2020/11/26 19:59
 * @description：User启动类
 */
@SpringBootApplication
@MapperScan("com.qcq.springcloud.mapper")
@EnableDiscoveryClient   // 注册到Eureka注册中心
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
        System.out.println("--------User服务启动--------");
    }
}
